﻿namespace LuckyFish.GitNet.Models;

public class CodeFileModel : IGitModel
{
    public string FilePath { get; set; }
    public FileState State { get; set; }
    public bool IsExist { get; set; }
    public CodeFileModel(string filePath,FileState state,bool isExist = true)
    {
        FilePath = filePath;
        State = state;
        IsExist = isExist;
    }
}

public class FileState
{
    public string? State { get; set; }
    public string? ChangeContent { get;set; }
    public string? ChangePath { get; set; }
    public FileState(string state,string? changeContent = null, string? changePath = null)
    {
        State = state;
        ChangeContent = changeContent;
        ChangePath = changePath;
    }
}